package com.wusongti.performance.service;

import java.util.List;

import com.wusongti.performance.model.params.PerformanceLogSearchParameter;
import com.wusongti.performance.model.vo.PerformanceLogVO;

/**
 * @ClassName: IPerformanceLogService
 * @author: wust
 * @date: 2022/04/28 17:05
 * @Description:
 */
public interface IPerformanceLogService {
    /**
     * @param null:
     * @Title: 保存日志到数据库
     * @Description:
     * @author: wust
     * @return: null
     * @throws:
     */
    int batchSave();

    /**
     * @param null:
     * @Title: 查询所有日志
     * @Description:
     * @author: wust
     * @return: null
     * @throws:
     */
    List<PerformanceLogVO> findAll(PerformanceLogSearchParameter parameter);

    /**
     * @param null:
     * @Title: 删除数据库的所有日志
     * @Description:
     * @author: wust
     * @return: null
     * @throws:
     */
    int deleteAll();
}
